package fnic.jsontrans;

public class SubjectDescript {
	int probeid;	
	//网络状况 优 、良、中、差（对应1、2、3、4）
	int netquality ;
	//通话质量差
	int callquality ;
	//经纬度
	double longitude = 0.0;
	double latitude = 0.0;
	double radius = 0.0;
	
	String address = "";
	 //其他反馈
	String feedback = "";

	public SubjectDescript(){}
	
	public SubjectDescript(int pid,int speed, int call) {
		probeid = pid;
		netquality = speed;
		callquality = call;
	}

	public SubjectDescript(int pid, int speed, int call, String fb) {
		probeid = pid;
		netquality = speed;
		callquality = call;
		feedback = fb;
	}

	public void setprobeid(int pid){
		probeid = pid;
	}
	
	public int getprobeid(){
		return probeid;
	}
	
	public void setnetquality(int speed){
		netquality = speed;
	}
	public int getnetquality() {
		return netquality;
	}

	public void setcallquality(int call){
		callquality = call;
	}
	public int getcallquality() {
		return callquality;
	}

	public void setlongitude(double lngtd){
		longitude = lngtd;
	}
	
	public double getlongitude(){
		return longitude;
	}
	
	public void setlatitude(double lttd){
		latitude = lttd;
	}
	public double getlatitude(){
		return latitude;
	}
	
	public double getRadius() {
		return radius;
	}

	public void setRadius(double radius) {
		this.radius = radius;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	
	public void setfeedback(String fb){
		feedback = fb;
	}
	public String getfeedback() {
		return feedback;
	}
}
